const Route = require('koa-router')
const admin = new Route({ prefix: '/admin' })
const apply = require('../controller/admincontrol')

admin.get('/userList', apply.getUserPage)
  .delete('/delete', apply.deleteUser)
  .put('/change', apply.changeInfo)
  .get('/find', apply.selectByCondition)
module.exports = admin
